﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo04
{

    class S
    {
   
        public string Name { get; set; }
        public double Area { get; set; }

        public S (string name){
            this.Name = name;
                }

        public double AreaA (int r,double Π)
        {
            return r * r * Π;
        }
        public int AreaB(int a,int b)
        {
            return a * b;
        }
    }
}
